package com.gqj.meter.service;


import com.gqj.meter.domain.SysUpgradeRecord;

import java.util.List;

/**
 * 升级记录Service接口
 *
 * @author lxq
 * @date lxq-01-09
 */
public interface ISysUpgradeRecordService
{
    /**
     * 查询升级记录
     *
     * @param upgradeId 升级记录主键
     * @return 升级记录
     */
    public SysUpgradeRecord selectSysUpgradeRecordByUpgradeId(Integer upgradeId);

    /**
     * 查询升级记录列表
     *
     * @param sysUpgradeRecord 升级记录
     * @return 升级记录集合
     */
    public List<SysUpgradeRecord> selectSysUpgradeRecordList(SysUpgradeRecord sysUpgradeRecord);

    /**
     * 新增升级记录
     *
     * @param sysUpgradeRecord 升级记录
     * @return 结果
     */
    public int insertSysUpgradeRecord(SysUpgradeRecord sysUpgradeRecord);

    /**
     * 修改升级记录
     *
     * @param sysUpgradeRecord 升级记录
     * @return 结果
     */
    public int updateSysUpgradeRecord(SysUpgradeRecord sysUpgradeRecord);

    /**
     * 批量删除升级记录
     *
     * @param upgradeIds 需要删除的升级记录主键集合
     * @return 结果
     */
    public int deleteSysUpgradeRecordByUpgradeIds(Integer[] upgradeIds);

    /**
     * 删除升级记录信息
     *
     * @param upgradeId 升级记录主键
     * @return 结果
     */
    public int deleteSysUpgradeRecordByUpgradeId(Integer upgradeId);
}
